<!doctype html>
<html ng-app="timetrip">

<head>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <meta charset="utf-8">
    <title>blog</title>
    <meta name="author" content="dongfeng">
    <link rel="stylesheet" href="libs/Font-awesome/css/font-awesome.css">
    <!--编辑发表博客-->
    <link rel="stylesheet" href="kindeditor-4.1.10/themes/default/default.css" />
    <script charset="utf-8" src="kindeditor-4.1.10/kindeditor-min.js"></script>
    <script charset="utf-8" src="kindeditor-4.1.10/lang/zh_CN.js"></script>
    <script>
        var editor;
        KindEditor.ready(function(K) {});
    </script>
    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.0.2/css/bootstrap.min.css">

    <script src="js/jquery-2.2.3.js"></script>
    <script src="js/bootstrap-3.0.0/js/bootstrap.min.js"></script>
    <script src="js/angular-1.3.0.14/angular.js"></script>
    <script src="js/angular-1.3.0.14/angular-animate.min.js"></script>
    <script src="js/angular-ui-router.js"></script>
    <!-- 让angular更好的支持boostrap的一个插件 -->
    <script src="js/ui-bootstrap-tpls-0.11.0.js"></script>
    <!--增强表格功能的ng插件-->
    <script src="js/ng-grid-2.0.12/ng-grid.debug.js"></script>
    <!--分页管理-->
    <script src="js/page.js"></script>
    <!-- 动画的样式 -->
    <link rel="stylesheet" href="css/animations.css">
    <!--自定义的CSS样式-->
    <link rel="stylesheet" href="css/app.css">
    <!--启动文件核心-->

    <script src="js/app.js"></script>
    <script src="js/animations.js"></script>
    <!--所有的控制器-->
    <script src="js/controllers.js"></script>
    <!--所有的过滤器-->
    <script src="js/filters.js"></script>
    <!--所有的服务-->
    <script src="js/services.js"></script>
</head>

<body ng-controller="indexCtrl">
    <nav class="navbar navbar-default navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
                <a class="navbar-brand" href="#"></a>
            </div>
            <div id="navbar" class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    <li class="active"><a href="" ui-sref="home">首页</a></li>
                    <li><a href="" ui-sref="mood">心情</a></li>
                    <li><a href="" ui-sref="blogs">博文</a></li>
                    <li><a href="" ui-sref="message">留言</a></li>


                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <a ng-hide="name" ui-sref="signin">注册</a>
                    <a ng-show="name" ng-click="logout()">退出</a>
                    <a ng-hide="name" ui-sref="login">登录</a>
                    <a ng-show="name" ui-sref="my">
                        <img class="portrait" ng-src="{{portrait}}" alt=""> {{name}}
                    </a>
                </ul>
            </div>
            <!--/.nav-collapse -->
        </div>
    </nav>
    <div class="container" style="margin-top: 200px">
        <div ui-view></div>
    </div>
</body>

</html>